using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace Com.AlbLab.CR.Web.pages
{
    public partial class GestioneUtenti : common.pages.BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!(Context.User.IsInRole("ADMIN")))
            {
                FormsAuthentication.SignOut();
                Session.Abandon();
                Response.Redirect("~/login.aspx");
            }
            if (!Page.IsPostBack)
            {
                UtenteMasterDetails1.Initialize();
            }
        }
    }
}
